package pt.fct.mpc.lastfm.search;

public class ArtistSearchHit
	extends SearchHit
{
	/**
	 * 
	 */
	private static final long serialVersionUID = -5279199759553087524L;
	protected String mbid;
	
	public ArtistSearchHit(String name, String url, String mbid, int position)
	{
		super(name, url, position);
		this.setMBID(mbid);
	}

	public ArtistSearchHit(String name, String url, String mbid)
	{
		super(name, url, 0); // set position as 0
		this.setMBID(mbid);
	}

	public String getMBID()
	{
		return mbid;
	}

	public void setMBID(String mbid)
	{
		this.mbid = mbid;
	}

	@Override
	public String toString()
	{
		return this.name;
	}
}
